package com.vueperson.vueperson.t1.CreationalPattern.AbstractFactoryPattern.SystemOperation;



public class Client {
    public static void main(String[] args) {
        //使用抽象层定义
        OperationFactory operationFactory;
        InterfaceController ic;
        OperationController oc;

        operationFactory= (OperationFactory) XMLUtil.getBean();
        ic=operationFactory.createInterfaceController();
        oc=operationFactory.createOperationController();
        ic.displayText();
        oc.displayButton();

    }
}
